<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<div id="profile" class="section">
<security:authorize ifAllGranted="ROLE_USER">
	<h2>My Profile</h2>

	<table class="summary">
		<thead>
			<tr>
				<th>Name</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>${pageContext.request.userPrincipal.name}</td>
			</tr>
		</tbody>
	</table>
</security:authorize>

</div>